﻿#ifndef COMMON_HLSL
#define COMMON_HLSL

struct AABB
{
    float3 minCorner;
    float3 maxCorner;
};

struct RadixTreeNode
{
    int parentIndex;
    int nodeIndex;

    int leftNodeIndex;
    int rightNodeIndex;

    int mortonCode;
    int visitCount;

    AABB aabb;
};

#endif 